package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.OrderDisDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 订单优惠详情表 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2023-12-19
 */
public interface IOrderDisDetailService extends IService<OrderDisDetail> {

    boolean addDisDetaill(Long orderId, Long disOrderId, List<OrderDisDetail> orderDisDetailList, BigDecimal disPrice, LocalDate discountsDate);

    boolean addDisDetailAndClan(List<Long> studentIdList, Long orderDetailId, Long orderId, Long disOrderId, List<OrderDisDetail> orderDisDetailList, BigDecimal disPrice, LocalDate discountsDate);
}
